home *** CD-ROM | disk | FTP | other *** search
- Path: newsreader.read.tasc.com!usenet
- From: Doug Sauder <dwsauder@tasc.com>
- Newsgroups: comp.dcom.modems
- Subject: How to autodetect a modem
- Date: 6 Feb 1996 23:01:46 GMT
- Organization: TASC
- Message-ID: <4f8mkq$5hk@lois.Read.TASC.COM>
- NNTP-Posting-Host: dwsauder.ftwa.tasc.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.1N (Macintosh; I; 68K)
- X-URL: news:comp.dcom.modems
-
- I have noticed several very user-friendly programs that can auto-detect
- a modem. I have modem on my PC (COM3 IRQ5) that Prodigy was able to
- find quite easily, even though it is not on the standard IRQ.
-
- I thought it would be nice to do this in my own program. The idea is to
- send "AT" (or perhaps better yet "ATQ1" to be sure that a response it
- sent back) and watch for an "OK\n\r" response or "0\r" response. I
- don't suppose that sending a string to the mouse would affect anything.
-
- Does anybody have a better idea about how to do this? Under MS Windows
- 3.1, can I get information from the system to get a head start? I
- really can't think of any other way to detect a modem than to send the
- "AT" string and get a response.
-
-
-